home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / cardpkg_1.3.lha / CardPkg / CardVBigImages.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-20  |  1.6 KB  |  49 lines

  1. /*** CardVBigImages.h ***/
  2.  
  3. /************************************************************
  4.  
  5.     TML's C Language Card Image Package  v1.1
  6.     January, 1993
  7.     Todd M. Lewis             (919) 776-7386
  8.     2601 Piedmont Drive
  9.     Sanford, NC  27330-9437
  10.     USA
  11. ************************************************************/
  12.  
  13. #ifndef CARD_VBIG_IMAGES_H
  14. #define CARD_VBIG_IMAGES_H 1
  15. #include <exec/types.h>
  16.  
  17. #include "Cards.h"
  18.  
  19. #define CARD_VBIG_WIDTH   64
  20. #define CARD_VBIG_HEIGHT  48
  21. #define CARD_VBIG_DEPTH    2
  22.  
  23. extern UWORD CardVBigBrush [];
  24. extern UWORD CardVBigBrush1[];
  25. extern UWORD CardVBigBrush2[];
  26. /*----- bitmap : w = 512, h = 384, d = 3 ------ words = 36864 ---*/
  27.  
  28. extern BOOL ShowVBigCard( struct RastPort *rp, CardID_t Card, WORD dx, WORD dy );
  29.    /*  rp had better point to a real RastPort.                   */
  30.    /*  Card is an CardID_t .                                     */
  31.    /*  dx and dy are the offsets of the upper left corner of the */
  32.    /*     selected card in the RastPort.                         */
  33.    /*  Returns FALSE if Card is out of range, TRUE otherwise.    */
  34.  
  35.  
  36. /*
  37.  *The way these things are set up, you can say:
  38.  *
  39.  *   ShowVBigCard( rp, CardID(SUIT_SPADES,2), 10, 20 );
  40.  *
  41.  * to display the 2 of Spades.
  42.  *
  43.  * The Jack  of Spades would be ShowHCard( rp, CardID(SUIT_SPADES,11),     dx, dy).
  44.  * The Queen of Clubs  would be ShowHCard( rp, CardID(SUIT_CLUBS, 12),     dx, dy).
  45.  * The King  of Hearts would be ShowHCard( rp, CardID(SUIT_HEARTS,13),     dx, dy).
  46.  * The Joker           would be ShowHCard( rp, CardID(SUIT_SPECIAL,JOKER), dx, dy).
  47.  */
  48. #endif
  49.